package com.shakev.coupon.es.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @ClassName Category
 * @Description TODO
 * @Author 李伟松
 * @CreateDate 2019-05-08 上午 12:25
 * @UpdateDate 2019-05-08 上午 12:25
 * @Version 1.0
 */
@Data
@Document(indexName = "category")
public class Category implements Serializable {

    @Id
    private String cid;

    private String tbCid;

    private String cName;

    private String cPic;

    private String pid;

    private Integer sort;

}
